@include('admin.public.head')
<link href="{{ URL::asset('./admin/css/main.css') }}" rel="stylesheet">
<body class="gray-bg">
<section class="wrapper wrapper-content animated fadeInRight">
    <div class="page_title">
        <h2 class="fl">管理员列表</h2>
        <a class="add fr" href="">添加管理员</a>
    </div>
    <table class="table ibox-content">
        <tr>
            <th>門店名稱</th>
            <th>賬號</th>
            <th>上次登錄時間</th>
            <th>上次登錄Ip</th>
            <th>姓名</th>
            <th>聯係電話</th>
            <th>聯係地址</th>
            <th>操作</th>
        </tr>
        @foreach($data as $v)
            <tr>
                <!-- <td><div class="cut_title ellipsis"></div></td> -->
                <td>{{$v->store->store_name}}</td>
                <td>{{$v->user_account}}</td>
                <td>{{$vo->logintime}}</td>
                <td>{{$vo->loginip}}}</td>
                <td>{{$vo->real_name}}</td>
                <td>{{$vo->user_contact}}</td>
                <td>{{$vo->user_address}}</td>
                <td>
{{--                    <a href="{:url('Admin/edit',array('id'=>$vo.id))}" class="inner_btn">编辑</a>--}}

{{--                    <a href="{:url('Admin/ban',array('id'=>$vo.id))}" class="inner_btn" {if condition="$vo.staus eq 0"}value="0">恢复正常{else/}value="1">禁止登录{/if}</a>--}}
{{--                    <a onclick="return confirm('确认删除？')" href="{:url('Admin/del',array('id'=>$vo.id))}"  class="inner_btn" >删除</a>--}}
                </td>
            </tr>
        @endforeach
        {{ $data->appends(Request::except('page'))->links() }}
    </table>
    {{ $data->appends(Request::except('page'))->links() }}
</section>
</body>
</html>

